package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训信息对象 c5_trainings
 * 
 * @author whz
 * @date 2024-12-04
 */
public class Trainings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 人员ID */
    @Excel(name = "人员ID")
    private Long personId;

    /** 培训类型 */
    @Excel(name = "培训类型")
    private String trainingType;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String questionsBankName;

    /** 使用的题库文件路径 */
    @Excel(name = "使用的题库文件路径")
    private String questionsBankPath;

    /** 培训负责人 */
    @Excel(name = "培训负责人")
    private String trainerName;

    /** 培训日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trainingDate;

    /** 培训地点 */
    @Excel(name = "培训地点")
    private String trainingLocation;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String trainingsExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String trainingsExtra2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String trainingsExtra3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String trainingsExtra4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String trainingsExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setTrainingType(String trainingType) 
    {
        this.trainingType = trainingType;
    }

    public String getTrainingType() 
    {
        return trainingType;
    }
    public void setQuestionsBankName(String questionsBankName) 
    {
        this.questionsBankName = questionsBankName;
    }

    public String getQuestionsBankName() 
    {
        return questionsBankName;
    }
    public void setQuestionsBankPath(String questionsBankPath) 
    {
        this.questionsBankPath = questionsBankPath;
    }

    public String getQuestionsBankPath() 
    {
        return questionsBankPath;
    }
    public void setTrainerName(String trainerName) 
    {
        this.trainerName = trainerName;
    }

    public String getTrainerName() 
    {
        return trainerName;
    }
    public void setTrainingDate(Date trainingDate) 
    {
        this.trainingDate = trainingDate;
    }

    public Date getTrainingDate() 
    {
        return trainingDate;
    }
    public void setTrainingLocation(String trainingLocation) 
    {
        this.trainingLocation = trainingLocation;
    }

    public String getTrainingLocation() 
    {
        return trainingLocation;
    }
    public void setTrainingsExtra1(String trainingsExtra1) 
    {
        this.trainingsExtra1 = trainingsExtra1;
    }

    public String getTrainingsExtra1() 
    {
        return trainingsExtra1;
    }
    public void setTrainingsExtra2(String trainingsExtra2) 
    {
        this.trainingsExtra2 = trainingsExtra2;
    }

    public String getTrainingsExtra2() 
    {
        return trainingsExtra2;
    }
    public void setTrainingsExtra3(String trainingsExtra3) 
    {
        this.trainingsExtra3 = trainingsExtra3;
    }

    public String getTrainingsExtra3() 
    {
        return trainingsExtra3;
    }
    public void setTrainingsExtra4(String trainingsExtra4) 
    {
        this.trainingsExtra4 = trainingsExtra4;
    }

    public String getTrainingsExtra4() 
    {
        return trainingsExtra4;
    }
    public void setTrainingsExtra5(String trainingsExtra5) 
    {
        this.trainingsExtra5 = trainingsExtra5;
    }

    public String getTrainingsExtra5() 
    {
        return trainingsExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("trainingType", getTrainingType())
            .append("questionsBankName", getQuestionsBankName())
            .append("questionsBankPath", getQuestionsBankPath())
            .append("trainerName", getTrainerName())
            .append("trainingDate", getTrainingDate())
            .append("trainingLocation", getTrainingLocation())
            .append("trainingsExtra1", getTrainingsExtra1())
            .append("trainingsExtra2", getTrainingsExtra2())
            .append("trainingsExtra3", getTrainingsExtra3())
            .append("trainingsExtra4", getTrainingsExtra4())
            .append("trainingsExtra5", getTrainingsExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
